package com.wswy.wzcx.model.core

import com.wswy.wzcx.model.TabConfResp
import com.wswy.wzcx.model.news.NewsCategory
import org.greenrobot.eventbus.EventBus

open class BaseEvent(){
}

class EventTabConfResp(val tabConfResp: TabConfResp?=null):BaseEvent()

class EventNewsCategory(val news: List<NewsCategory>?=null):BaseEvent()

class EventTabNewsCategory(val news: List<NewsCategory>?=null):BaseEvent()

class EventNormal(val code:Int,val data:Any?):BaseEvent()

fun postEvent(any:Any){
    EventBus.getDefault().post(any)
}